// import 'babel-polyfill';
// import vConsole from 'vconsole'
// new vConsole()
import Vue from 'vue'
import './cube-ui'
import App from './App.vue'
import 'amfe-flexible'
import store from './store'
// import touch from 'vue-touch'
// Vue.use(touch)
import VueRouter from 'vue-router'
// import vConsole from 'vconsole'
// new vConsole()
import VueHtml2Canvas from 'vue-html2canvas';
// import VueVideoPlayer from 'vue-video-player'
// import 'video.js/dist/video-js.css'
// Vue.use(VueVideoPlayer /* {
//   options: global default options,
//   events: global videojs events
// } */)
import mall from '@/global/mall'
Vue.prototype.mall = mall
Vue.use(VueHtml2Canvas);
Vue.use(VueRouter)
Vue.config.productionTip = false
import router from './router'
import  './router/perm'

import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload, {
  preLoad: 1.3,
  loading: require('@/assets/loading.gif'),
  attempt: 3
})

// console.log(router)
// Vue.use(router)
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
